<!DOCTYPE HTML>
<html>
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@page import="com.beidouapp.security.model.SessionUser"%> 
<%@page import="com.beidouapp.security.utils.DscpCommUtils" %>  
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link href="<%=request.getContextPath()%>/css/common/H-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/common/H-ui.admin.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/common/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/iconfont/iconfont.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/font-awesome/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/common/autocomplete.css" rel="stylesheet" type="text/css"/>
    <title>角色编辑</title>
</head>
<body>
<div class="row cl" style="display: none">
    <input type="text" class="input-text"
           value="${role.id}" placeholder=""
           id="role_id" name="role_id">
</div>
<div class="pd-20">
    <form action="" method="post" class="form form-horizontal"
          id="form-edit">
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>角色名称</label>
            <div class="formControls col-5">
                <input type="text" class="input-text" value="${role.name}" placeholder=""
                       id="role_name" name="role_name" datatype="*2-16"
                       nullmsg="角色名称不能为空">
            </div>
            <div class="col-4"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>角色代码</label>
            <div class="formControls col-5">
                <input type="text" class="input-text" value="${role.code}" placeholder=""
                       id="role_code" name="role_code" datatype="*2-16"
                       nullmsg="角色代码不能为空">
            </div>
            <div class="col-4"></div>
        </div>
        <div class="row cl" id="roleGroup">
            <label class="form-label col-3"><span class="c-red">*</span>角色组选择</label>
            <div class="formControls col-5 ui-widget">
                <select id="role_status" class="combobox" placeholer="请选择" equired nullmsg="角色组不能为空"></select>
            </div>
            <div class="col-4"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">角色描述</label>
            <div class="formControls col-5">
                <input type="text" class="input-text" value="${role.descn}" placeholder=""
                       id="role_descn" name="role_descn">
            </div>
            <div class="col-4"></div>
        </div>
        <div class="row cl">
            <div class="col-9 col-offset-3">
                <input class="btn btn-primary radius" type="submit"
                       value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/jquery.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/jquery-ui.min-1.10.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/layer1.8/layer.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.admin.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/Validform_v5.3.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/role/RoleEdit.js?3.1"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/autocomplete.js?1"></script>
<script type="text/javascript">
    var baseURL = "<%=request.getContextPath()%>";
    var _roleGroupId = ${role.roleGroupId};
    var isManagerPlat="<%=DscpCommUtils.isManagerPlat(request.getSession())%>";
</script>
</body>
</html>